import {NbGoPipeline} from './NbGoPipeline.js';

/**
 * 运行 nb go 流程
 * @param {import('../nb.js').NbCommandHandler} handler
 * @returns {Promise<void>}
 */
export async function runNbGo(handler) {
    const pipeline = new NbGoPipeline({handler});
    await pipeline.run();
}
